<template>
    <div class="fix-bottom-btn" :style="{'text-align': position}">
        <slot></slot>
    </div>
</template>

<script>
export default {
    name: 'FixBottomButton',
    props: {
        position: {
            type: String,
            default: 'center'
        }
    },
    data() {
        return {}
    },
    methods: {}
}
</script>

<style lang="scss" scoped>
.fix-bottom-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 20px;
    z-index: 9;
    .left {
        float: left;
    }
}
</style>


